
delete from BD_RELATEDAPP where APPCODE like '20060799%';
go

INSERT INTO BD_RELATEDAPP (APPCODE, DR, PAGECODE, PK_BILLTYPECODE, PK_BILLTYPEID, PK_RELATEDAPP, PRIORITY, SENCE, TS, VDEF1, VDEF2, VDEF3) VALUES ('20060799', null, '20060799L_CARD', 'RGCB', '0001ZZZZ2B188B0EBB19', '0001ZZZZ4692e1d7118c', 0, 4, '2021-10-24 16:12:12', null, null, null);
go
INSERT INTO BD_RELATEDAPP (APPCODE, DR, PAGECODE, PK_BILLTYPECODE, PK_BILLTYPEID, PK_RELATEDAPP, PRIORITY, SENCE, TS, VDEF1, VDEF2, VDEF3) VALUES ('20060799A', null, null, 'RGCB', '0001ZZZZ2B188B0EBB19', '0001ZZZZ5a84c392b78f', 0, 3, '2021-10-24 16:12:12', null, null, null);
go
